package com.project.internship.service;

import com.project.internship.entity.Class;
import com.project.internship.entity.Major;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2020-04-07
 */
public interface MajorService extends IService<Major> {

    List<Major> getMajors();

    Integer addMajor(Major major);

    Integer deleteMajor(Major major);

}
